package com.wgchao.authprovider.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.*;
import java.util.Date;

/**
 * @Description  
 * @Author  Wgchao
 * @Date 2019-08-10 
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table ( name ="sys_power" )
public class SysPower  implements Serializable {

	private static final long serialVersionUID =  9074077557559143964L;

	/**
	 * 权限编号
	 */
   	@Column(name = "power_id" )
	private Long powerId;

	/**
	 * 创建用户编号
	 */
   	@Column(name = "create_user" )
	private Long createUser;

	/**
	 * 更新用户编号
	 */
   	@Column(name = "update_user" )
	private Long updateUser;

	/**
	 * 权限名称
	 */
   	@Column(name = "power_name" )
	private String powerName;

	/**
	 * 权限类型
	 */
   	@Column(name = "type" )
	private Long type;

	/**
	 * 权限内容
	 */
   	@Column(name = "content" )
	private String content;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 删除时间
	 */
   	@Column(name = "del_time" )
	private Date delTime;

}
